<include file="Public/ace_header" />
<!-- 本页面逻辑 -->
<!-- 定制
非定制
旅社补充合同根据是否签署显示不一致
旅社签署情况根据是否签署显示不一致 -->
<div class="row">
    <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" style="padding-left: 10px;padding-right: 10px;">
        <input type="hidden" name="user_id" value="{:session('旅社')['id']}" />
        <input type="hidden" name="funding_type" value="{$_GET['funding_type']|default=$model['funding_type']}" />
        <input type="hidden" name="customized_id" value="{$_GET['customized_id']}" />
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="funding_type"> 筹单类型 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <select  id="funding_type" class="width-100" disabled="">
                            <php> $funding_type = D(FundingType)->select(); </php>
                            <volist name="funding_type" id="vo">
                            <option value="{$vo['id']}" <if condition ="($_GET['funding_type'] neq '') && ($_GET['funding_type'] eq $vo['id']) || ($model['funding_type'] eq $vo['id'])"> selected </if>>{$vo['long_name']}</option>
                            </volist>
                        </select>
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="transaction_type"> 交易类型 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="交易类型" id="transaction_type" name="transaction_type"  value="{$_GET['transaction_type']|default=$model['transaction_type']}" validate-required="required:请填写交易类型" readonly/>
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
          <div class="form-group is-allow-funding {$hidden}">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="funding_price"> 众筹底价</label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="众筹价格" id="funding_price" name="funding_price"  value="{$model['funding_price']|default='0'}" validate-required="required:请填写众筹价格" />
                        <i class=""></i>
                    </span>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
            </div>
        
        <div class="clearfix form-actions">
            <div style="margin-left: 25%;">
                <button class="btn btn-info btn-sm" type="submit">
                    <i class="icon-ok bigger-110"></i> 下一步
                </button>
                &nbsp; &nbsp; &nbsp;
                <button class="btn btn-sm return" type="button">
                    <i class="icon-reply bigger-110"></i> 返回
                </button>
            </div>
        </div>
    </form>
</div>
<include file="Public/ace_footer" />
